/**
 * 
 */
package cc.rico.jms.spring.bean;

import java.io.Serializable;

/**
 * @author rico 2016年7月31日
 *
 */
public class CustomUser implements Serializable {
	private static final long serialVersionUID = 21217099473733055L;
	
	private String username;
	private String password;
	
	public CustomUser() {
		
	}
	public CustomUser(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@Override
	public String toString() {
		return new StringBuilder()
			.append("User={")
			.append("username:").append(username)
			.append("password:").append(password)
			.append("}").toString()
			;
	}

}
